package com.population.service;

import com.mis.entity.Role;
import com.mis.entity.Account;

/**
 * @Title
 * @Author shmily
 * @Date 2019/9/26
 */
public interface UserService {

    /**
     * 根据用户名查询用户信息
     * @param username
     * @return
     */
    Account getUserByUserName(String username);

    /**
     * 查询用户权限
     * @param roleId
     * @return
     */
    Role getUserRole(Integer roleId);
}
